package com.example.springbootdemo.bean.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author hh
 * @since 2022-03-02
 */
@TableName("t_chunk_info")
@ApiModel(value = "ChunkInfo对象", description = "")
public class ChunkInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer chunkNumber;

    private BigDecimal currentChunkSize;

    private BigDecimal chunkSize;

    private Integer totalChunks;

    private String identifier;

    private String fileName;

    private String relativePath;

    private String type;

    private LocalDateTime createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getChunkNumber() {
        return chunkNumber;
    }

    public void setChunkNumber(Integer chunkNumber) {
        this.chunkNumber = chunkNumber;
    }

    public BigDecimal getCurrentChunkSize() {
        return currentChunkSize;
    }

    public void setCurrentChunkSize(BigDecimal currentChunkSize) {
        this.currentChunkSize = currentChunkSize;
    }

    public BigDecimal getChunkSize() {
        return chunkSize;
    }

    public void setChunkSize(BigDecimal chunkSize) {
        this.chunkSize = chunkSize;
    }

    public Integer getTotalChunks() {
        return totalChunks;
    }

    public void setTotalChunks(Integer totalChunks) {
        this.totalChunks = totalChunks;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getRelativePath() {
        return relativePath;
    }

    public void setRelativePath(String relativePath) {
        this.relativePath = relativePath;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
